home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / HIStaticPanels.h < prev    next >
C/C++ Source or Header  |  1996-05-01  |  50KB  |  1,298 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: HIStaticPanels.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emith.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_HIVisualSeparator_h
  11. #define SOM_HIVisualSeparator_h
  12.  
  13.  
  14. /*
  15.  * Passthru lines: File: "C.h", "before"
  16.  */
  17. #include <HIStaticPanelTypes.h>
  18.  
  19. #include <som.h>
  20.  
  21. /*
  22.  * -- This emitter treats Method Tokens as Thunks by default.
  23.  * -- Use the sc modifier "nothunks" to change this default
  24.  */
  25. #undef somresolve_
  26. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  27.  
  28. /*
  29.  * Define the class name as an object type
  30.  */
  31. #ifndef HIVisualSeparator
  32. #define HIVisualSeparator SOMObject
  33. #endif
  34. #include <HIPanels.h>
  35.  
  36. /*
  37.  * Start of user-defined types:
  38.  */
  39. #ifndef SOMClass
  40.     #define SOMClass SOMObject
  41. #endif /* SOMClass */
  42. #ifndef SOMObject
  43.     #define SOMObject SOMObject
  44. #endif /* SOMObject */
  45. #ifndef HIWindow
  46.     #define HIWindow SOMObject
  47. #endif /* HIWindow */
  48. #ifndef HIEmbeddingPanel
  49.     #define HIEmbeddingPanel SOMObject
  50. #endif /* HIEmbeddingPanel */
  51.  
  52. /*
  53.  * End of user-defined types.
  54.  */
  55.  
  56. #define HIVisualSeparator_MajorVersion 0
  57. #define HIVisualSeparator_MinorVersion 0
  58.  
  59. /*
  60.  * External name shortening if required
  61.  */
  62. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  63. #define HIVisualSeparatorClassData d
  64. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  65. /*--------------Migration------------*/
  66.  
  67. #ifdef OLDIBMSOMAPISUPPORT
  68. #define HIVisualSeparator_classObj somNewClassReference(HIVisualSeparator)
  69. #define _HIVisualSeparator HIVisualSeparator_classObj
  70. #define HIVisualSeparatorCClassData HIVisualSeparatorClassData
  71. #define HIVisualSeparatorNewClass(major,minor) somNewVersionedClassReference(HIVisualSeparator,major,minor)
  72. #endif
  73.  
  74. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  75. #define HIVisualSeparatorMetaClass SOMClass
  76.  
  77. #if PRAGMA_ALIGN_SUPPORTED
  78. #  pragma options align=power
  79. #endif
  80.  
  81. /*
  82.  * Declare the class data structure
  83.  */
  84. SOMEXTERN struct HIVisualSeparatorClassDataStructure {
  85. #ifdef OLDIBMSOMAPISUPPORT
  86.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  87. #else
  88.     long zero;
  89. #endif
  90.     somStaticClassInfo *sci;
  91.     somDToken        instanceDataToken;
  92.     long reserved [3];
  93.     somMToken InitVisualSeparator;
  94.     somMToken GetSeparatorType;
  95.     somMToken SetSeparatorType;
  96. } SOMDLINK HIVisualSeparatorClassData;
  97.  
  98. #if PRAGMA_ALIGN_SUPPORTED
  99. #  pragma options align=reset
  100. #endif
  101.  
  102. #if !defined(HIVisualSeparator_Class_Source) && !defined(SOM_Module_histaticpanels_Source)
  103. #if PRAGMA_IMPORT_SUPPORTED
  104. #pragma import list HIVisualSeparatorClassData
  105. #endif
  106. #endif
  107.  
  108.  
  109. /*
  110.  * New macro for HIVisualSeparator
  111.  */
  112. #define HIVisualSeparatorNew() somNewObject(HIVisualSeparator)
  113.  
  114. /*
  115.  * New Method: InitVisualSeparator
  116.  */
  117. typedef OSStatus   (SOMLINK *somTD_HIVisualSeparator_InitVisualSeparator)(HIVisualSeparator *somSelf, Environment *ev,
  118.         RefLabel* identifier,
  119.         HIWindow* window,
  120.         Rect* bounds,
  121.         HIVisualSeparatorType separatorType);
  122. #define somMD_HIVisualSeparator_InitVisualSeparator "::HIVisualSeparator::InitVisualSeparator"
  123. #define HIVisualSeparator_InitVisualSeparator(somSelf,ev,identifier,window,bounds,separatorType) \
  124.     (SOM_Resolve(somSelf, HIVisualSeparator, InitVisualSeparator) \
  125.     (somSelf,ev,identifier,window,bounds,separatorType))
  126. #ifndef SOMGD_InitVisualSeparator
  127.     #if defined _InitVisualSeparator || defined __InitVisualSeparator
  128.         #undef _InitVisualSeparator
  129.         #undef __InitVisualSeparator
  130.         #define SOMGD_InitVisualSeparator 1
  131.     #else
  132.         #define _InitVisualSeparator HIVisualSeparator_InitVisualSeparator
  133.     #endif /* _InitVisualSeparator */
  134. #endif /* SOMGD_InitVisualSeparator */
  135.  
  136. /*
  137.  * New Method: GetSeparatorType
  138.  */
  139. typedef HIVisualSeparatorType   (SOMLINK *somTD_HIVisualSeparator_GetSeparatorType)(HIVisualSeparator *somSelf, Environment *ev);
  140. #define somMD_HIVisualSeparator_GetSeparatorType "::HIVisualSeparator::GetSeparatorType"
  141. #define HIVisualSeparator_GetSeparatorType(somSelf,ev) \
  142.     (SOM_Resolve(somSelf, HIVisualSeparator, GetSeparatorType) \
  143.     (somSelf,ev))
  144. #ifndef SOMGD_GetSeparatorType
  145.     #if defined _GetSeparatorType || defined __GetSeparatorType
  146.         #undef _GetSeparatorType
  147.         #undef __GetSeparatorType
  148.         #define SOMGD_GetSeparatorType 1
  149.     #else
  150.         #define _GetSeparatorType HIVisualSeparator_GetSeparatorType
  151.     #endif /* _GetSeparatorType */
  152. #endif /* SOMGD_GetSeparatorType */
  153.  
  154. /*
  155.  * New Method: SetSeparatorType
  156.  */
  157. typedef void   (SOMLINK *somTD_HIVisualSeparator_SetSeparatorType)(HIVisualSeparator *somSelf, Environment *ev,
  158.         HIVisualSeparatorType separatorType);
  159. #define somMD_HIVisualSeparator_SetSeparatorType "::HIVisualSeparator::SetSeparatorType"
  160. #define HIVisualSeparator_SetSeparatorType(somSelf,ev,separatorType) \
  161.     (SOM_Resolve(somSelf, HIVisualSeparator, SetSeparatorType) \
  162.     (somSelf,ev,separatorType))
  163. #ifndef SOMGD_SetSeparatorType
  164.     #if defined _SetSeparatorType || defined __SetSeparatorType
  165.         #undef _SetSeparatorType
  166.         #undef __SetSeparatorType
  167.         #define SOMGD_SetSeparatorType 1
  168.     #else
  169.         #define _SetSeparatorType HIVisualSeparator_SetSeparatorType
  170.     #endif /* _SetSeparatorType */
  171. #endif /* SOMGD_SetSeparatorType */
  172. #ifndef SOM_DONT_USE_INHERITED_MACROS
  173. #define HIVisualSeparator_GetEmbeddingParent HIPanel_GetEmbeddingParent
  174. #define HIVisualSeparator_InitPanel HIPanel_InitPanel
  175. #define HIVisualSeparator_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  176. #define HIVisualSeparator_HasValidContent HIPanel_HasValidContent
  177. #define HIVisualSeparator_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  178. #define HIVisualSeparator_GetWindow HIObject_GetWindow
  179. #define HIVisualSeparator_GetPort HIObject_GetPort
  180. #define HIVisualSeparator_GetRefLabel HIObject_GetRefLabel
  181. #define HIVisualSeparator_GetCollection HIObject_GetCollection
  182. #define HIVisualSeparator_Init HIObject_Init
  183. #define HIVisualSeparator_Terminate HIObject_Terminate
  184. #define HIVisualSeparator_Clone HIObject_Clone
  185. #define HIVisualSeparator_Release HIObject_Release
  186. #define HIVisualSeparator_GetOwnerCount HIObject_GetOwnerCount
  187. #define HIVisualSeparator_InitFromAERecord HIObject_InitFromAERecord
  188. #define HIVisualSeparator_WriteToAERecord HIObject_WriteToAERecord
  189. #define HIVisualSeparator_CalculateOptimalSize HIObject_CalculateOptimalSize
  190. #define HIVisualSeparator_GetBoundingRect HIObject_GetBoundingRect
  191. #define HIVisualSeparator_SetBoundingRect HIObject_SetBoundingRect
  192. #define HIVisualSeparator_SetPosition HIObject_SetPosition
  193. #define HIVisualSeparator_SetSize HIObject_SetSize
  194. #define HIVisualSeparator_GetUpdateRect HIObject_GetUpdateRect
  195. #define HIVisualSeparator_Enable HIObject_Enable
  196. #define HIVisualSeparator_Disable HIObject_Disable
  197. #define HIVisualSeparator_IsEnabled HIObject_IsEnabled
  198. #define HIVisualSeparator_Show HIObject_Show
  199. #define HIVisualSeparator_Hide HIObject_Hide
  200. #define HIVisualSeparator_IsVisible HIObject_IsVisible
  201. #define HIVisualSeparator_HandleAppleEvent HIObject_HandleAppleEvent
  202. #define HIVisualSeparator_HandleActivate HIObject_HandleActivate
  203. #define HIVisualSeparator_HandleDeactivate HIObject_HandleDeactivate
  204. #define HIVisualSeparator_HandleNavigation HIObject_HandleNavigation
  205. #define HIVisualSeparator_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  206. #define HIVisualSeparator_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  207. #define HIVisualSeparator_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  208. #define HIVisualSeparator_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  209. #define HIVisualSeparator_TakeUserInputFocus HIObject_TakeUserInputFocus
  210. #define HIVisualSeparator_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  211. #define HIVisualSeparator_HasUserInputFocus HIObject_HasUserInputFocus
  212. #define HIVisualSeparator_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  213. #define HIVisualSeparator_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  214. #define HIVisualSeparator_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  215. #define HIVisualSeparator_SetTitle HIObject_SetTitle
  216. #define HIVisualSeparator_GetTitle HIObject_GetTitle
  217. #define HIVisualSeparator_Draw HIObject_Draw
  218. #define HIVisualSeparator_Erase HIObject_Erase
  219. #define HIVisualSeparator_Invalidate HIObject_Invalidate
  220. #define HIVisualSeparator_GetDrawingMode HIObject_GetDrawingMode
  221. #define HIVisualSeparator_SetDrawingMode HIObject_SetDrawingMode
  222. #define HIVisualSeparator_SetBackgroundPattern HIObject_SetBackgroundPattern
  223. #define HIVisualSeparator_GetBackgroundPattern HIObject_GetBackgroundPattern
  224. #define HIVisualSeparator_Cut HIObject_Cut
  225. #define HIVisualSeparator_Copy HIObject_Copy
  226. #define HIVisualSeparator_Paste HIObject_Paste
  227. #define HIVisualSeparator_Clear HIObject_Clear
  228. #define HIVisualSeparator_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  229. #define HIVisualSeparator_AddStateChangeCallback HIObject_AddStateChangeCallback
  230. #define HIVisualSeparator_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  231. #define HIVisualSeparator_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  232. #define HIVisualSeparator_GetNewHIObject HIObject_GetNewHIObject
  233. #define HIVisualSeparator_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  234. #define HIVisualSeparator_DrawContent HIObject_DrawContent
  235. #define HIVisualSeparator_EraseContent HIObject_EraseContent
  236. #define HIVisualSeparator_TranslatePoint HIObject_TranslatePoint
  237. #define HIVisualSeparator_TranslateRect HIObject_TranslateRect
  238. #define HIVisualSeparator_StateChanged HIObject_StateChanged
  239. #define HIVisualSeparator_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  240. #define HIVisualSeparator_Verify HIObject_Verify
  241. #define HIVisualSeparator_somInit SOMObject_somInit
  242. #define HIVisualSeparator_somUninit SOMObject_somUninit
  243. #define HIVisualSeparator_somDuplicateReference SOMObject_somDuplicateReference
  244. #define HIVisualSeparator_somCompareReference SOMObject_somCompareReference
  245. #define HIVisualSeparator_somRelease SOMObject_somRelease
  246. #define HIVisualSeparator_somFree SOMObject_somFree
  247. #define HIVisualSeparator_somCanDelete SOMObject_somCanDelete
  248. #define HIVisualSeparator_somGetClass SOMObject_somGetClass
  249. #define HIVisualSeparator_somGetClassName SOMObject_somGetClassName
  250. #define HIVisualSeparator_somGetSize SOMObject_somGetSize
  251. #define HIVisualSeparator_somIsA SOMObject_somIsA
  252. #define HIVisualSeparator_somRespondsTo SOMObject_somRespondsTo
  253. #define HIVisualSeparator_somIsInstanceOf SOMObject_somIsInstanceOf
  254. #define HIVisualSeparator_somDispatch SOMObject_somDispatch
  255. #define HIVisualSeparator_somClassDispatch SOMObject_somClassDispatch
  256. #define HIVisualSeparator_somCastObj SOMObject_somCastObj
  257. #define HIVisualSeparator_somResetObj SOMObject_somResetObj
  258. #define HIVisualSeparator_somPrintSelf SOMObject_somPrintSelf
  259. #define HIVisualSeparator_somDumpSelf SOMObject_somDumpSelf
  260. #define HIVisualSeparator_somDumpSelfInt SOMObject_somDumpSelfInt
  261. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  262.  
  263. #endif       /* SOM_HIVisualSeparator_h */
  264.  
  265. #ifndef SOM_HIStaticPanel_h
  266. #define SOM_HIStaticPanel_h
  267.  
  268.  
  269. #include <som.h>
  270.  
  271. /*
  272.  * -- This emitter treats Method Tokens as Thunks by default.
  273.  * -- Use the sc modifier "nothunks" to change this default
  274.  */
  275. #undef somresolve_
  276. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  277.  
  278. /*
  279.  * Define the class name as an object type
  280.  */
  281. #ifndef HIStaticPanel
  282. #define HIStaticPanel SOMObject
  283. #endif
  284. #include <HIPanels.h>
  285.  
  286. /*
  287.  * Start of user-defined types:
  288.  */
  289.  
  290. /*
  291.  * End of user-defined types.
  292.  */
  293.  
  294. #define HIStaticPanel_MajorVersion 0
  295. #define HIStaticPanel_MinorVersion 0
  296.  
  297. /*
  298.  * External name shortening if required
  299.  */
  300. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  301. #define HIStaticPanelClassData d
  302. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  303. /*--------------Migration------------*/
  304.  
  305. #ifdef OLDIBMSOMAPISUPPORT
  306. #define HIStaticPanel_classObj somNewClassReference(HIStaticPanel)
  307. #define _HIStaticPanel HIStaticPanel_classObj
  308. #define HIStaticPanelCClassData HIStaticPanelClassData
  309. #define HIStaticPanelNewClass(major,minor) somNewVersionedClassReference(HIStaticPanel,major,minor)
  310. #endif
  311.  
  312. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  313. #define HIStaticPanelMetaClass SOMClass
  314.  
  315. #if PRAGMA_ALIGN_SUPPORTED
  316. #  pragma options align=power
  317. #endif
  318.  
  319. /*
  320.  * Declare the class data structure
  321.  */
  322. SOMEXTERN struct HIStaticPanelClassDataStructure {
  323. #ifdef OLDIBMSOMAPISUPPORT
  324.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  325. #else
  326.     long zero;
  327. #endif
  328.     somStaticClassInfo *sci;
  329.     somDToken        instanceDataToken;
  330.     long reserved [3];
  331.     somMToken InitStaticPanel;
  332. } SOMDLINK HIStaticPanelClassData;
  333.  
  334. #if PRAGMA_ALIGN_SUPPORTED
  335. #  pragma options align=reset
  336. #endif
  337.  
  338. #if !defined(HIStaticPanel_Class_Source) && !defined(SOM_Module_histaticpanels_Source)
  339. #if PRAGMA_IMPORT_SUPPORTED
  340. #pragma import list HIStaticPanelClassData
  341. #endif
  342. #endif
  343.  
  344.  
  345. /*
  346.  * New macro for HIStaticPanel
  347.  */
  348. #define HIStaticPanelNew() somNewObject(HIStaticPanel)
  349.  
  350. /*
  351.  * New Method: InitStaticPanel
  352.  */
  353. typedef OSStatus   (SOMLINK *somTD_HIStaticPanel_InitStaticPanel)(HIStaticPanel *somSelf, Environment *ev,
  354.         RefLabel* identifier,
  355.         HIWindow* window,
  356.         Rect* bounds);
  357. #define somMD_HIStaticPanel_InitStaticPanel "::HIStaticPanel::InitStaticPanel"
  358. #define HIStaticPanel_InitStaticPanel(somSelf,ev,identifier,window,bounds) \
  359.     (SOM_Resolve(somSelf, HIStaticPanel, InitStaticPanel) \
  360.     (somSelf,ev,identifier,window,bounds))
  361. #ifndef SOMGD_InitStaticPanel
  362.     #if defined _InitStaticPanel || defined __InitStaticPanel
  363.         #undef _InitStaticPanel
  364.         #undef __InitStaticPanel
  365.         #define SOMGD_InitStaticPanel 1
  366.     #else
  367.         #define _InitStaticPanel HIStaticPanel_InitStaticPanel
  368.     #endif /* _InitStaticPanel */
  369. #endif /* SOMGD_InitStaticPanel */
  370. #ifndef SOM_DONT_USE_INHERITED_MACROS
  371. #define HIStaticPanel_GetEmbeddingParent HIPanel_GetEmbeddingParent
  372. #define HIStaticPanel_InitPanel HIPanel_InitPanel
  373. #define HIStaticPanel_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  374. #define HIStaticPanel_HasValidContent HIPanel_HasValidContent
  375. #define HIStaticPanel_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  376. #define HIStaticPanel_GetWindow HIObject_GetWindow
  377. #define HIStaticPanel_GetPort HIObject_GetPort
  378. #define HIStaticPanel_GetRefLabel HIObject_GetRefLabel
  379. #define HIStaticPanel_GetCollection HIObject_GetCollection
  380. #define HIStaticPanel_Init HIObject_Init
  381. #define HIStaticPanel_Terminate HIObject_Terminate
  382. #define HIStaticPanel_Clone HIObject_Clone
  383. #define HIStaticPanel_Release HIObject_Release
  384. #define HIStaticPanel_GetOwnerCount HIObject_GetOwnerCount
  385. #define HIStaticPanel_InitFromAERecord HIObject_InitFromAERecord
  386. #define HIStaticPanel_WriteToAERecord HIObject_WriteToAERecord
  387. #define HIStaticPanel_CalculateOptimalSize HIObject_CalculateOptimalSize
  388. #define HIStaticPanel_GetBoundingRect HIObject_GetBoundingRect
  389. #define HIStaticPanel_SetBoundingRect HIObject_SetBoundingRect
  390. #define HIStaticPanel_SetPosition HIObject_SetPosition
  391. #define HIStaticPanel_SetSize HIObject_SetSize
  392. #define HIStaticPanel_GetUpdateRect HIObject_GetUpdateRect
  393. #define HIStaticPanel_Enable HIObject_Enable
  394. #define HIStaticPanel_Disable HIObject_Disable
  395. #define HIStaticPanel_IsEnabled HIObject_IsEnabled
  396. #define HIStaticPanel_Show HIObject_Show
  397. #define HIStaticPanel_Hide HIObject_Hide
  398. #define HIStaticPanel_IsVisible HIObject_IsVisible
  399. #define HIStaticPanel_HandleAppleEvent HIObject_HandleAppleEvent
  400. #define HIStaticPanel_HandleActivate HIObject_HandleActivate
  401. #define HIStaticPanel_HandleDeactivate HIObject_HandleDeactivate
  402. #define HIStaticPanel_HandleNavigation HIObject_HandleNavigation
  403. #define HIStaticPanel_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  404. #define HIStaticPanel_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  405. #define HIStaticPanel_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  406. #define HIStaticPanel_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  407. #define HIStaticPanel_TakeUserInputFocus HIObject_TakeUserInputFocus
  408. #define HIStaticPanel_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  409. #define HIStaticPanel_HasUserInputFocus HIObject_HasUserInputFocus
  410. #define HIStaticPanel_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  411. #define HIStaticPanel_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  412. #define HIStaticPanel_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  413. #define HIStaticPanel_SetTitle HIObject_SetTitle
  414. #define HIStaticPanel_GetTitle HIObject_GetTitle
  415. #define HIStaticPanel_Draw HIObject_Draw
  416. #define HIStaticPanel_Erase HIObject_Erase
  417. #define HIStaticPanel_Invalidate HIObject_Invalidate
  418. #define HIStaticPanel_GetDrawingMode HIObject_GetDrawingMode
  419. #define HIStaticPanel_SetDrawingMode HIObject_SetDrawingMode
  420. #define HIStaticPanel_SetBackgroundPattern HIObject_SetBackgroundPattern
  421. #define HIStaticPanel_GetBackgroundPattern HIObject_GetBackgroundPattern
  422. #define HIStaticPanel_Cut HIObject_Cut
  423. #define HIStaticPanel_Copy HIObject_Copy
  424. #define HIStaticPanel_Paste HIObject_Paste
  425. #define HIStaticPanel_Clear HIObject_Clear
  426. #define HIStaticPanel_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  427. #define HIStaticPanel_AddStateChangeCallback HIObject_AddStateChangeCallback
  428. #define HIStaticPanel_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  429. #define HIStaticPanel_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  430. #define HIStaticPanel_GetNewHIObject HIObject_GetNewHIObject
  431. #define HIStaticPanel_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  432. #define HIStaticPanel_DrawContent HIObject_DrawContent
  433. #define HIStaticPanel_EraseContent HIObject_EraseContent
  434. #define HIStaticPanel_TranslatePoint HIObject_TranslatePoint
  435. #define HIStaticPanel_TranslateRect HIObject_TranslateRect
  436. #define HIStaticPanel_StateChanged HIObject_StateChanged
  437. #define HIStaticPanel_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  438. #define HIStaticPanel_Verify HIObject_Verify
  439. #define HIStaticPanel_somInit SOMObject_somInit
  440. #define HIStaticPanel_somUninit SOMObject_somUninit
  441. #define HIStaticPanel_somDuplicateReference SOMObject_somDuplicateReference
  442. #define HIStaticPanel_somCompareReference SOMObject_somCompareReference
  443. #define HIStaticPanel_somRelease SOMObject_somRelease
  444. #define HIStaticPanel_somFree SOMObject_somFree
  445. #define HIStaticPanel_somCanDelete SOMObject_somCanDelete
  446. #define HIStaticPanel_somGetClass SOMObject_somGetClass
  447. #define HIStaticPanel_somGetClassName SOMObject_somGetClassName
  448. #define HIStaticPanel_somGetSize SOMObject_somGetSize
  449. #define HIStaticPanel_somIsA SOMObject_somIsA
  450. #define HIStaticPanel_somRespondsTo SOMObject_somRespondsTo
  451. #define HIStaticPanel_somIsInstanceOf SOMObject_somIsInstanceOf
  452. #define HIStaticPanel_somDispatch SOMObject_somDispatch
  453. #define HIStaticPanel_somClassDispatch SOMObject_somClassDispatch
  454. #define HIStaticPanel_somCastObj SOMObject_somCastObj
  455. #define HIStaticPanel_somResetObj SOMObject_somResetObj
  456. #define HIStaticPanel_somPrintSelf SOMObject_somPrintSelf
  457. #define HIStaticPanel_somDumpSelf SOMObject_somDumpSelf
  458. #define HIStaticPanel_somDumpSelfInt SOMObject_somDumpSelfInt
  459. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  460.  
  461. #endif       /* SOM_HIStaticPanel_h */
  462.  
  463. #ifndef SOM_HIPicture_h
  464. #define SOM_HIPicture_h
  465.  
  466.  
  467. #include <som.h>
  468.  
  469. /*
  470.  * -- This emitter treats Method Tokens as Thunks by default.
  471.  * -- Use the sc modifier "nothunks" to change this default
  472.  */
  473. #undef somresolve_
  474. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  475.  
  476. /*
  477.  * Define the class name as an object type
  478.  */
  479. #ifndef HIPicture
  480. #define HIPicture SOMObject
  481. #endif
  482. #include <HIStaticPanels.h>
  483.  
  484. /*
  485.  * Start of user-defined types:
  486.  */
  487.  
  488. /*
  489.  * End of user-defined types.
  490.  */
  491.  
  492. #define HIPicture_MajorVersion 0
  493. #define HIPicture_MinorVersion 0
  494.  
  495. /*
  496.  * External name shortening if required
  497.  */
  498. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  499. #define HIPictureClassData d
  500. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  501. /*--------------Migration------------*/
  502.  
  503. #ifdef OLDIBMSOMAPISUPPORT
  504. #define HIPicture_classObj somNewClassReference(HIPicture)
  505. #define _HIPicture HIPicture_classObj
  506. #define HIPictureCClassData HIPictureClassData
  507. #define HIPictureNewClass(major,minor) somNewVersionedClassReference(HIPicture,major,minor)
  508. #endif
  509.  
  510. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  511. #define HIPictureMetaClass SOMClass
  512.  
  513. #if PRAGMA_ALIGN_SUPPORTED
  514. #  pragma options align=power
  515. #endif
  516.  
  517. /*
  518.  * Declare the class data structure
  519.  */
  520. SOMEXTERN struct HIPictureClassDataStructure {
  521. #ifdef OLDIBMSOMAPISUPPORT
  522.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  523. #else
  524.     long zero;
  525. #endif
  526.     somStaticClassInfo *sci;
  527.     somDToken        instanceDataToken;
  528.     long reserved [3];
  529.     somMToken InitPicture;
  530.     somMToken GetPicture;
  531.     somMToken SetPicture;
  532. } SOMDLINK HIPictureClassData;
  533.  
  534. #if PRAGMA_ALIGN_SUPPORTED
  535. #  pragma options align=reset
  536. #endif
  537.  
  538. #if !defined(HIPicture_Class_Source) && !defined(SOM_Module_histaticpanels_Source)
  539. #if PRAGMA_IMPORT_SUPPORTED
  540. #pragma import list HIPictureClassData
  541. #endif
  542. #endif
  543.  
  544.  
  545. /*
  546.  * New macro for HIPicture
  547.  */
  548. #define HIPictureNew() somNewObject(HIPicture)
  549.  
  550. /*
  551.  * New Method: InitPicture
  552.  */
  553. typedef OSStatus   (SOMLINK *somTD_HIPicture_InitPicture)(HIPicture *somSelf, Environment *ev,
  554.         RefLabel* identifier,
  555.         HIWindow* window,
  556.         Rect* bounds,
  557.         PicHandle picture);
  558. #define somMD_HIPicture_InitPicture "::HIPicture::InitPicture"
  559. #define HIPicture_InitPicture(somSelf,ev,identifier,window,bounds,picture) \
  560.     (SOM_Resolve(somSelf, HIPicture, InitPicture) \
  561.     (somSelf,ev,identifier,window,bounds,picture))
  562. #ifndef SOMGD_InitPicture
  563.     #if defined _InitPicture || defined __InitPicture
  564.         #undef _InitPicture
  565.         #undef __InitPicture
  566.         #define SOMGD_InitPicture 1
  567.     #else
  568.         #define _InitPicture HIPicture_InitPicture
  569.     #endif /* _InitPicture */
  570. #endif /* SOMGD_InitPicture */
  571.  
  572. /*
  573.  * New Method: GetPicture
  574.  */
  575. typedef PicHandle   (SOMLINK *somTD_HIPicture_GetPicture)(HIPicture *somSelf, Environment *ev);
  576. #define somMD_HIPicture_GetPicture "::HIPicture::GetPicture"
  577. #define HIPicture_GetPicture(somSelf,ev) \
  578.     (SOM_Resolve(somSelf, HIPicture, GetPicture) \
  579.     (somSelf,ev))
  580. #ifndef SOMGD_GetPicture
  581.     #if defined _GetPicture || defined __GetPicture
  582.         #undef _GetPicture
  583.         #undef __GetPicture
  584.         #define SOMGD_GetPicture 1
  585.     #else
  586.         #define _GetPicture HIPicture_GetPicture
  587.     #endif /* _GetPicture */
  588. #endif /* SOMGD_GetPicture */
  589.  
  590. /*
  591.  * New Method: SetPicture
  592.  */
  593. typedef void   (SOMLINK *somTD_HIPicture_SetPicture)(HIPicture *somSelf, Environment *ev,
  594.         PicHandle picture);
  595. #define somMD_HIPicture_SetPicture "::HIPicture::SetPicture"
  596. #define HIPicture_SetPicture(somSelf,ev,picture) \
  597.     (SOM_Resolve(somSelf, HIPicture, SetPicture) \
  598.     (somSelf,ev,picture))
  599. #ifndef SOMGD_SetPicture
  600.     #if defined _SetPicture || defined __SetPicture
  601.         #undef _SetPicture
  602.         #undef __SetPicture
  603.         #define SOMGD_SetPicture 1
  604.     #else
  605.         #define _SetPicture HIPicture_SetPicture
  606.     #endif /* _SetPicture */
  607. #endif /* SOMGD_SetPicture */
  608. #ifndef SOM_DONT_USE_INHERITED_MACROS
  609. #define HIPicture_InitStaticPanel HIStaticPanel_InitStaticPanel
  610. #define HIPicture_GetEmbeddingParent HIPanel_GetEmbeddingParent
  611. #define HIPicture_InitPanel HIPanel_InitPanel
  612. #define HIPicture_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  613. #define HIPicture_HasValidContent HIPanel_HasValidContent
  614. #define HIPicture_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  615. #define HIPicture_GetWindow HIObject_GetWindow
  616. #define HIPicture_GetPort HIObject_GetPort
  617. #define HIPicture_GetRefLabel HIObject_GetRefLabel
  618. #define HIPicture_GetCollection HIObject_GetCollection
  619. #define HIPicture_Init HIObject_Init
  620. #define HIPicture_Terminate HIObject_Terminate
  621. #define HIPicture_Clone HIObject_Clone
  622. #define HIPicture_Release HIObject_Release
  623. #define HIPicture_GetOwnerCount HIObject_GetOwnerCount
  624. #define HIPicture_InitFromAERecord HIObject_InitFromAERecord
  625. #define HIPicture_WriteToAERecord HIObject_WriteToAERecord
  626. #define HIPicture_CalculateOptimalSize HIObject_CalculateOptimalSize
  627. #define HIPicture_GetBoundingRect HIObject_GetBoundingRect
  628. #define HIPicture_SetBoundingRect HIObject_SetBoundingRect
  629. #define HIPicture_SetPosition HIObject_SetPosition
  630. #define HIPicture_SetSize HIObject_SetSize
  631. #define HIPicture_GetUpdateRect HIObject_GetUpdateRect
  632. #define HIPicture_Enable HIObject_Enable
  633. #define HIPicture_Disable HIObject_Disable
  634. #define HIPicture_IsEnabled HIObject_IsEnabled
  635. #define HIPicture_Show HIObject_Show
  636. #define HIPicture_Hide HIObject_Hide
  637. #define HIPicture_IsVisible HIObject_IsVisible
  638. #define HIPicture_HandleAppleEvent HIObject_HandleAppleEvent
  639. #define HIPicture_HandleActivate HIObject_HandleActivate
  640. #define HIPicture_HandleDeactivate HIObject_HandleDeactivate
  641. #define HIPicture_HandleNavigation HIObject_HandleNavigation
  642. #define HIPicture_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  643. #define HIPicture_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  644. #define HIPicture_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  645. #define HIPicture_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  646. #define HIPicture_TakeUserInputFocus HIObject_TakeUserInputFocus
  647. #define HIPicture_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  648. #define HIPicture_HasUserInputFocus HIObject_HasUserInputFocus
  649. #define HIPicture_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  650. #define HIPicture_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  651. #define HIPicture_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  652. #define HIPicture_SetTitle HIObject_SetTitle
  653. #define HIPicture_GetTitle HIObject_GetTitle
  654. #define HIPicture_Draw HIObject_Draw
  655. #define HIPicture_Erase HIObject_Erase
  656. #define HIPicture_Invalidate HIObject_Invalidate
  657. #define HIPicture_GetDrawingMode HIObject_GetDrawingMode
  658. #define HIPicture_SetDrawingMode HIObject_SetDrawingMode
  659. #define HIPicture_SetBackgroundPattern HIObject_SetBackgroundPattern
  660. #define HIPicture_GetBackgroundPattern HIObject_GetBackgroundPattern
  661. #define HIPicture_Cut HIObject_Cut
  662. #define HIPicture_Copy HIObject_Copy
  663. #define HIPicture_Paste HIObject_Paste
  664. #define HIPicture_Clear HIObject_Clear
  665. #define HIPicture_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  666. #define HIPicture_AddStateChangeCallback HIObject_AddStateChangeCallback
  667. #define HIPicture_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  668. #define HIPicture_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  669. #define HIPicture_GetNewHIObject HIObject_GetNewHIObject
  670. #define HIPicture_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  671. #define HIPicture_DrawContent HIObject_DrawContent
  672. #define HIPicture_EraseContent HIObject_EraseContent
  673. #define HIPicture_TranslatePoint HIObject_TranslatePoint
  674. #define HIPicture_TranslateRect HIObject_TranslateRect
  675. #define HIPicture_StateChanged HIObject_StateChanged
  676. #define HIPicture_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  677. #define HIPicture_Verify HIObject_Verify
  678. #define HIPicture_somInit SOMObject_somInit
  679. #define HIPicture_somUninit SOMObject_somUninit
  680. #define HIPicture_somDuplicateReference SOMObject_somDuplicateReference
  681. #define HIPicture_somCompareReference SOMObject_somCompareReference
  682. #define HIPicture_somRelease SOMObject_somRelease
  683. #define HIPicture_somFree SOMObject_somFree
  684. #define HIPicture_somCanDelete SOMObject_somCanDelete
  685. #define HIPicture_somGetClass SOMObject_somGetClass
  686. #define HIPicture_somGetClassName SOMObject_somGetClassName
  687. #define HIPicture_somGetSize SOMObject_somGetSize
  688. #define HIPicture_somIsA SOMObject_somIsA
  689. #define HIPicture_somRespondsTo SOMObject_somRespondsTo
  690. #define HIPicture_somIsInstanceOf SOMObject_somIsInstanceOf
  691. #define HIPicture_somDispatch SOMObject_somDispatch
  692. #define HIPicture_somClassDispatch SOMObject_somClassDispatch
  693. #define HIPicture_somCastObj SOMObject_somCastObj
  694. #define HIPicture_somResetObj SOMObject_somResetObj
  695. #define HIPicture_somPrintSelf SOMObject_somPrintSelf
  696. #define HIPicture_somDumpSelf SOMObject_somDumpSelf
  697. #define HIPicture_somDumpSelfInt SOMObject_somDumpSelfInt
  698. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  699.  
  700. #endif       /* SOM_HIPicture_h */
  701.  
  702. #ifndef SOM_HIIcon_h
  703. #define SOM_HIIcon_h
  704.  
  705.  
  706. #include <som.h>
  707.  
  708. /*
  709.  * -- This emitter treats Method Tokens as Thunks by default.
  710.  * -- Use the sc modifier "nothunks" to change this default
  711.  */
  712. #undef somresolve_
  713. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  714.  
  715. /*
  716.  * Define the class name as an object type
  717.  */
  718. #ifndef HIIcon
  719. #define HIIcon SOMObject
  720. #endif
  721. #include <HIStaticPanels.h>
  722.  
  723. /*
  724.  * Start of user-defined types:
  725.  */
  726.  
  727. /*
  728.  * End of user-defined types.
  729.  */
  730.  
  731. #define HIIcon_MajorVersion 0
  732. #define HIIcon_MinorVersion 0
  733.  
  734. /*
  735.  * External name shortening if required
  736.  */
  737. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  738. #define HIIconClassData d
  739. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  740. /*--------------Migration------------*/
  741.  
  742. #ifdef OLDIBMSOMAPISUPPORT
  743. #define HIIcon_classObj somNewClassReference(HIIcon)
  744. #define _HIIcon HIIcon_classObj
  745. #define HIIconCClassData HIIconClassData
  746. #define HIIconNewClass(major,minor) somNewVersionedClassReference(HIIcon,major,minor)
  747. #endif
  748.  
  749. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  750. #define HIIconMetaClass SOMClass
  751.  
  752. #if PRAGMA_ALIGN_SUPPORTED
  753. #  pragma options align=power
  754. #endif
  755.  
  756. /*
  757.  * Declare the class data structure
  758.  */
  759. SOMEXTERN struct HIIconClassDataStructure {
  760. #ifdef OLDIBMSOMAPISUPPORT
  761.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  762. #else
  763.     long zero;
  764. #endif
  765.     somStaticClassInfo *sci;
  766.     somDToken        instanceDataToken;
  767.     long reserved [3];
  768.     somMToken InitIcon;
  769.     somMToken GetIcon;
  770.     somMToken SetIcon;
  771.     somMToken GetAlignment;
  772.     somMToken SetAlignment;
  773.     somMToken GetTransform;
  774.     somMToken SetTransform;
  775. } SOMDLINK HIIconClassData;
  776.  
  777. #if PRAGMA_ALIGN_SUPPORTED
  778. #  pragma options align=reset
  779. #endif
  780.  
  781. #if !defined(HIIcon_Class_Source) && !defined(SOM_Module_histaticpanels_Source)
  782. #if PRAGMA_IMPORT_SUPPORTED
  783. #pragma import list HIIconClassData
  784. #endif
  785. #endif
  786.  
  787.  
  788. /*
  789.  * New macro for HIIcon
  790.  */
  791. #define HIIconNew() somNewObject(HIIcon)
  792.  
  793. /*
  794.  * New Method: InitIcon
  795.  */
  796. typedef OSStatus   (SOMLINK *somTD_HIIcon_InitIcon)(HIIcon *somSelf, Environment *ev,
  797.         RefLabel* identifier,
  798.         HIWindow* window,
  799.         Rect* bounds,
  800.         Handle iconSuite);
  801. #define somMD_HIIcon_InitIcon "::HIIcon::InitIcon"
  802. #define HIIcon_InitIcon(somSelf,ev,identifier,window,bounds,iconSuite) \
  803.     (SOM_Resolve(somSelf, HIIcon, InitIcon) \
  804.     (somSelf,ev,identifier,window,bounds,iconSuite))
  805. #ifndef SOMGD_InitIcon
  806.     #if defined _InitIcon || defined __InitIcon
  807.         #undef _InitIcon
  808.         #undef __InitIcon
  809.         #define SOMGD_InitIcon 1
  810.     #else
  811.         #define _InitIcon HIIcon_InitIcon
  812.     #endif /* _InitIcon */
  813. #endif /* SOMGD_InitIcon */
  814.  
  815. /*
  816.  * New Method: GetIcon
  817.  */
  818. typedef Handle   (SOMLINK *somTD_HIIcon_GetIcon)(HIIcon *somSelf, Environment *ev);
  819. #define somMD_HIIcon_GetIcon "::HIIcon::GetIcon"
  820. #define HIIcon_GetIcon(somSelf,ev) \
  821.     (SOM_Resolve(somSelf, HIIcon, GetIcon) \
  822.     (somSelf,ev))
  823. #ifndef SOMGD_GetIcon
  824.     #if defined _GetIcon || defined __GetIcon
  825.         #undef _GetIcon
  826.         #undef __GetIcon
  827.         #define SOMGD_GetIcon 1
  828.     #else
  829.         #define _GetIcon HIIcon_GetIcon
  830.     #endif /* _GetIcon */
  831. #endif /* SOMGD_GetIcon */
  832.  
  833. /*
  834.  * New Method: SetIcon
  835.  */
  836. typedef void   (SOMLINK *somTD_HIIcon_SetIcon)(HIIcon *somSelf, Environment *ev,
  837.         Handle iconSuite);
  838. #define somMD_HIIcon_SetIcon "::HIIcon::SetIcon"
  839. #define HIIcon_SetIcon(somSelf,ev,iconSuite) \
  840.     (SOM_Resolve(somSelf, HIIcon, SetIcon) \
  841.     (somSelf,ev,iconSuite))
  842. #ifndef SOMGD_SetIcon
  843.     #if defined _SetIcon || defined __SetIcon
  844.         #undef _SetIcon
  845.         #undef __SetIcon
  846.         #define SOMGD_SetIcon 1
  847.     #else
  848.         #define _SetIcon HIIcon_SetIcon
  849.     #endif /* _SetIcon */
  850. #endif /* SOMGD_SetIcon */
  851.  
  852. /*
  853.  * New Method: GetAlignment
  854.  */
  855. typedef IconAlignmentType   (SOMLINK *somTD_HIIcon_GetAlignment)(HIIcon *somSelf, Environment *ev);
  856. #define somMD_HIIcon_GetAlignment "::HIIcon::GetAlignment"
  857. #define HIIcon_GetAlignment(somSelf,ev) \
  858.     (SOM_Resolve(somSelf, HIIcon, GetAlignment) \
  859.     (somSelf,ev))
  860. #ifndef SOMGD_GetAlignment
  861.     #if defined _GetAlignment || defined __GetAlignment
  862.         #undef _GetAlignment
  863.         #undef __GetAlignment
  864.         #define SOMGD_GetAlignment 1
  865.     #else
  866.         #define _GetAlignment HIIcon_GetAlignment
  867.     #endif /* _GetAlignment */
  868. #endif /* SOMGD_GetAlignment */
  869.  
  870. /*
  871.  * New Method: SetAlignment
  872.  */
  873. typedef void   (SOMLINK *somTD_HIIcon_SetAlignment)(HIIcon *somSelf, Environment *ev,
  874.         IconAlignmentType alignment);
  875. #define somMD_HIIcon_SetAlignment "::HIIcon::SetAlignment"
  876. #define HIIcon_SetAlignment(somSelf,ev,alignment) \
  877.     (SOM_Resolve(somSelf, HIIcon, SetAlignment) \
  878.     (somSelf,ev,alignment))
  879. #ifndef SOMGD_SetAlignment
  880.     #if defined _SetAlignment || defined __SetAlignment
  881.         #undef _SetAlignment
  882.         #undef __SetAlignment
  883.         #define SOMGD_SetAlignment 1
  884.     #else
  885.         #define _SetAlignment HIIcon_SetAlignment
  886.     #endif /* _SetAlignment */
  887. #endif /* SOMGD_SetAlignment */
  888.  
  889. /*
  890.  * New Method: GetTransform
  891.  */
  892. typedef IconTransformType   (SOMLINK *somTD_HIIcon_GetTransform)(HIIcon *somSelf, Environment *ev);
  893. #define somMD_HIIcon_GetTransform "::HIIcon::GetTransform"
  894. #define HIIcon_GetTransform(somSelf,ev) \
  895.     (SOM_Resolve(somSelf, HIIcon, GetTransform) \
  896.     (somSelf,ev))
  897. #ifndef SOMGD_GetTransform
  898.     #if defined _GetTransform || defined __GetTransform
  899.         #undef _GetTransform
  900.         #undef __GetTransform
  901.         #define SOMGD_GetTransform 1
  902.     #else
  903.         #define _GetTransform HIIcon_GetTransform
  904.     #endif /* _GetTransform */
  905. #endif /* SOMGD_GetTransform */
  906.  
  907. /*
  908.  * New Method: SetTransform
  909.  */
  910. typedef void   (SOMLINK *somTD_HIIcon_SetTransform)(HIIcon *somSelf, Environment *ev,
  911.         IconTransformType transform);
  912. #define somMD_HIIcon_SetTransform "::HIIcon::SetTransform"
  913. #define HIIcon_SetTransform(somSelf,ev,transform) \
  914.     (SOM_Resolve(somSelf, HIIcon, SetTransform) \
  915.     (somSelf,ev,transform))
  916. #ifndef SOMGD_SetTransform
  917.     #if defined _SetTransform || defined __SetTransform
  918.         #undef _SetTransform
  919.         #undef __SetTransform
  920.         #define SOMGD_SetTransform 1
  921.     #else
  922.         #define _SetTransform HIIcon_SetTransform
  923.     #endif /* _SetTransform */
  924. #endif /* SOMGD_SetTransform */
  925. #ifndef SOM_DONT_USE_INHERITED_MACROS
  926. #define HIIcon_InitStaticPanel HIStaticPanel_InitStaticPanel
  927. #define HIIcon_GetEmbeddingParent HIPanel_GetEmbeddingParent
  928. #define HIIcon_InitPanel HIPanel_InitPanel
  929. #define HIIcon_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  930. #define HIIcon_HasValidContent HIPanel_HasValidContent
  931. #define HIIcon_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  932. #define HIIcon_GetWindow HIObject_GetWindow
  933. #define HIIcon_GetPort HIObject_GetPort
  934. #define HIIcon_GetRefLabel HIObject_GetRefLabel
  935. #define HIIcon_GetCollection HIObject_GetCollection
  936. #define HIIcon_Init HIObject_Init
  937. #define HIIcon_Terminate HIObject_Terminate
  938. #define HIIcon_Clone HIObject_Clone
  939. #define HIIcon_Release HIObject_Release
  940. #define HIIcon_GetOwnerCount HIObject_GetOwnerCount
  941. #define HIIcon_InitFromAERecord HIObject_InitFromAERecord
  942. #define HIIcon_WriteToAERecord HIObject_WriteToAERecord
  943. #define HIIcon_CalculateOptimalSize HIObject_CalculateOptimalSize
  944. #define HIIcon_GetBoundingRect HIObject_GetBoundingRect
  945. #define HIIcon_SetBoundingRect HIObject_SetBoundingRect
  946. #define HIIcon_SetPosition HIObject_SetPosition
  947. #define HIIcon_SetSize HIObject_SetSize
  948. #define HIIcon_GetUpdateRect HIObject_GetUpdateRect
  949. #define HIIcon_Enable HIObject_Enable
  950. #define HIIcon_Disable HIObject_Disable
  951. #define HIIcon_IsEnabled HIObject_IsEnabled
  952. #define HIIcon_Show HIObject_Show
  953. #define HIIcon_Hide HIObject_Hide
  954. #define HIIcon_IsVisible HIObject_IsVisible
  955. #define HIIcon_HandleAppleEvent HIObject_HandleAppleEvent
  956. #define HIIcon_HandleActivate HIObject_HandleActivate
  957. #define HIIcon_HandleDeactivate HIObject_HandleDeactivate
  958. #define HIIcon_HandleNavigation HIObject_HandleNavigation
  959. #define HIIcon_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  960. #define HIIcon_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  961. #define HIIcon_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  962. #define HIIcon_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  963. #define HIIcon_TakeUserInputFocus HIObject_TakeUserInputFocus
  964. #define HIIcon_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  965. #define HIIcon_HasUserInputFocus HIObject_HasUserInputFocus
  966. #define HIIcon_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  967. #define HIIcon_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  968. #define HIIcon_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  969. #define HIIcon_SetTitle HIObject_SetTitle
  970. #define HIIcon_GetTitle HIObject_GetTitle
  971. #define HIIcon_Draw HIObject_Draw
  972. #define HIIcon_Erase HIObject_Erase
  973. #define HIIcon_Invalidate HIObject_Invalidate
  974. #define HIIcon_GetDrawingMode HIObject_GetDrawingMode
  975. #define HIIcon_SetDrawingMode HIObject_SetDrawingMode
  976. #define HIIcon_SetBackgroundPattern HIObject_SetBackgroundPattern
  977. #define HIIcon_GetBackgroundPattern HIObject_GetBackgroundPattern
  978. #define HIIcon_Cut HIObject_Cut
  979. #define HIIcon_Copy HIObject_Copy
  980. #define HIIcon_Paste HIObject_Paste
  981. #define HIIcon_Clear HIObject_Clear
  982. #define HIIcon_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  983. #define HIIcon_AddStateChangeCallback HIObject_AddStateChangeCallback
  984. #define HIIcon_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  985. #define HIIcon_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  986. #define HIIcon_GetNewHIObject HIObject_GetNewHIObject
  987. #define HIIcon_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  988. #define HIIcon_DrawContent HIObject_DrawContent
  989. #define HIIcon_EraseContent HIObject_EraseContent
  990. #define HIIcon_TranslatePoint HIObject_TranslatePoint
  991. #define HIIcon_TranslateRect HIObject_TranslateRect
  992. #define HIIcon_StateChanged HIObject_StateChanged
  993. #define HIIcon_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  994. #define HIIcon_Verify HIObject_Verify
  995. #define HIIcon_somInit SOMObject_somInit
  996. #define HIIcon_somUninit SOMObject_somUninit
  997. #define HIIcon_somDuplicateReference SOMObject_somDuplicateReference
  998. #define HIIcon_somCompareReference SOMObject_somCompareReference
  999. #define HIIcon_somRelease SOMObject_somRelease
  1000. #define HIIcon_somFree SOMObject_somFree
  1001. #define HIIcon_somCanDelete SOMObject_somCanDelete
  1002. #define HIIcon_somGetClass SOMObject_somGetClass
  1003. #define HIIcon_somGetClassName SOMObject_somGetClassName
  1004. #define HIIcon_somGetSize SOMObject_somGetSize
  1005. #define HIIcon_somIsA SOMObject_somIsA
  1006. #define HIIcon_somRespondsTo SOMObject_somRespondsTo
  1007. #define HIIcon_somIsInstanceOf SOMObject_somIsInstanceOf
  1008. #define HIIcon_somDispatch SOMObject_somDispatch
  1009. #define HIIcon_somClassDispatch SOMObject_somClassDispatch
  1010. #define HIIcon_somCastObj SOMObject_somCastObj
  1011. #define HIIcon_somResetObj SOMObject_somResetObj
  1012. #define HIIcon_somPrintSelf SOMObject_somPrintSelf
  1013. #define HIIcon_somDumpSelf SOMObject_somDumpSelf
  1014. #define HIIcon_somDumpSelfInt SOMObject_somDumpSelfInt
  1015. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  1016.  
  1017. #endif       /* SOM_HIIcon_h */
  1018.  
  1019. #ifndef SOM_HICaption_h
  1020. #define SOM_HICaption_h
  1021.  
  1022.  
  1023. #include <som.h>
  1024.  
  1025. /*
  1026.  * -- This emitter treats Method Tokens as Thunks by default.
  1027.  * -- Use the sc modifier "nothunks" to change this default
  1028.  */
  1029. #undef somresolve_
  1030. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  1031.  
  1032. /*
  1033.  * Define the class name as an object type
  1034.  */
  1035. #ifndef HICaption
  1036. #define HICaption SOMObject
  1037. #endif
  1038. #include <HIStaticPanels.h>
  1039.  
  1040. /*
  1041.  * Start of user-defined types:
  1042.  */
  1043.  
  1044. /*
  1045.  * End of user-defined types.
  1046.  */
  1047.  
  1048. #define HICaption_MajorVersion 0
  1049. #define HICaption_MinorVersion 0
  1050.  
  1051. /*
  1052.  * External name shortening if required
  1053.  */
  1054. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  1055. #define HICaptionClassData d
  1056. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  1057. /*--------------Migration------------*/
  1058.  
  1059. #ifdef OLDIBMSOMAPISUPPORT
  1060. #define HICaption_classObj somNewClassReference(HICaption)
  1061. #define _HICaption HICaption_classObj
  1062. #define HICaptionCClassData HICaptionClassData
  1063. #define HICaptionNewClass(major,minor) somNewVersionedClassReference(HICaption,major,minor)
  1064. #endif
  1065.  
  1066. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  1067. #define HICaptionMetaClass SOMClass
  1068.  
  1069. #if PRAGMA_ALIGN_SUPPORTED
  1070. #  pragma options align=power
  1071. #endif
  1072.  
  1073. /*
  1074.  * Declare the class data structure
  1075.  */
  1076. SOMEXTERN struct HICaptionClassDataStructure {
  1077. #ifdef OLDIBMSOMAPISUPPORT
  1078.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  1079. #else
  1080.     long zero;
  1081. #endif
  1082.     somStaticClassInfo *sci;
  1083.     somDToken        instanceDataToken;
  1084.     long reserved [3];
  1085.     somMToken InitCaption;
  1086.     somMToken GetCaption;
  1087.     somMToken SetCaption;
  1088.     somMToken GetStrike;
  1089.     somMToken SetStrike;
  1090. } SOMDLINK HICaptionClassData;
  1091.  
  1092. #if PRAGMA_ALIGN_SUPPORTED
  1093. #  pragma options align=reset
  1094. #endif
  1095.  
  1096. #if !defined(HICaption_Class_Source) && !defined(SOM_Module_histaticpanels_Source)
  1097. #if PRAGMA_IMPORT_SUPPORTED
  1098. #pragma import list HICaptionClassData
  1099. #endif
  1100. #endif
  1101.  
  1102.  
  1103. /*
  1104.  * New macro for HICaption
  1105.  */
  1106. #define HICaptionNew() somNewObject(HICaption)
  1107.  
  1108. /*
  1109.  * New Method: InitCaption
  1110.  */
  1111. typedef OSStatus   (SOMLINK *somTD_HICaption_InitCaption)(HICaption *somSelf, Environment *ev,
  1112.         RefLabel* identifier,
  1113.         HIWindow* window,
  1114.         Rect* bounds,
  1115.         TextObject text);
  1116. #define somMD_HICaption_InitCaption "::HICaption::InitCaption"
  1117. #define HICaption_InitCaption(somSelf,ev,identifier,window,bounds,text) \
  1118.     (SOM_Resolve(somSelf, HICaption, InitCaption) \
  1119.     (somSelf,ev,identifier,window,bounds,text))
  1120. #ifndef SOMGD_InitCaption
  1121.     #if defined _InitCaption || defined __InitCaption
  1122.         #undef _InitCaption
  1123.         #undef __InitCaption
  1124.         #define SOMGD_InitCaption 1
  1125.     #else
  1126.         #define _InitCaption HICaption_InitCaption
  1127.     #endif /* _InitCaption */
  1128. #endif /* SOMGD_InitCaption */
  1129.  
  1130. /*
  1131.  * New Method: GetCaption
  1132.  */
  1133. typedef void   (SOMLINK *somTD_HICaption_GetCaption)(HICaption *somSelf, Environment *ev,
  1134.         TextObject* caption);
  1135. #define somMD_HICaption_GetCaption "::HICaption::GetCaption"
  1136. #define HICaption_GetCaption(somSelf,ev,caption) \
  1137.     (SOM_Resolve(somSelf, HICaption, GetCaption) \
  1138.     (somSelf,ev,caption))
  1139. #ifndef SOMGD_GetCaption
  1140.     #if defined _GetCaption || defined __GetCaption
  1141.         #undef _GetCaption
  1142.         #undef __GetCaption
  1143.         #define SOMGD_GetCaption 1
  1144.     #else
  1145.         #define _GetCaption HICaption_GetCaption
  1146.     #endif /* _GetCaption */
  1147. #endif /* SOMGD_GetCaption */
  1148.  
  1149. /*
  1150.  * New Method: SetCaption
  1151.  */
  1152. typedef void   (SOMLINK *somTD_HICaption_SetCaption)(HICaption *somSelf, Environment *ev,
  1153.         TextObject caption);
  1154. #define somMD_HICaption_SetCaption "::HICaption::SetCaption"
  1155. #define HICaption_SetCaption(somSelf,ev,caption) \
  1156.     (SOM_Resolve(somSelf, HICaption, SetCaption) \
  1157.     (somSelf,ev,caption))
  1158. #ifndef SOMGD_SetCaption
  1159.     #if defined _SetCaption || defined __SetCaption
  1160.         #undef _SetCaption
  1161.         #undef __SetCaption
  1162.         #define SOMGD_SetCaption 1
  1163.     #else
  1164.         #define _SetCaption HICaption_SetCaption
  1165.     #endif /* _SetCaption */
  1166. #endif /* SOMGD_SetCaption */
  1167.  
  1168. /*
  1169.  * New Method: GetStrike
  1170.  */
  1171. typedef OSStatus   (SOMLINK *somTD_HICaption_GetStrike)(HICaption *somSelf, Environment *ev,
  1172.         TextStrikeRef* theStrike);
  1173. #define somMD_HICaption_GetStrike "::HICaption::GetStrike"
  1174. #define HICaption_GetStrike(somSelf,ev,theStrike) \
  1175.     (SOM_Resolve(somSelf, HICaption, GetStrike) \
  1176.     (somSelf,ev,theStrike))
  1177. #ifndef SOMGD_GetStrike
  1178.     #if defined _GetStrike || defined __GetStrike
  1179.         #undef _GetStrike
  1180.         #undef __GetStrike
  1181.         #define SOMGD_GetStrike 1
  1182.     #else
  1183.         #define _GetStrike HICaption_GetStrike
  1184.     #endif /* _GetStrike */
  1185. #endif /* SOMGD_GetStrike */
  1186.  
  1187. /*
  1188.  * New Method: SetStrike
  1189.  */
  1190. typedef OSStatus   (SOMLINK *somTD_HICaption_SetStrike)(HICaption *somSelf, Environment *ev,
  1191.         TextStrikeRef theStrike);
  1192. #define somMD_HICaption_SetStrike "::HICaption::SetStrike"
  1193. #define HICaption_SetStrike(somSelf,ev,theStrike) \
  1194.     (SOM_Resolve(somSelf, HICaption, SetStrike) \
  1195.     (somSelf,ev,theStrike))
  1196. #ifndef SOMGD_SetStrike
  1197.     #if defined _SetStrike || defined __SetStrike
  1198.         #undef _SetStrike
  1199.         #undef __SetStrike
  1200.         #define SOMGD_SetStrike 1
  1201.     #else
  1202.         #define _SetStrike HICaption_SetStrike
  1203.     #endif /* _SetStrike */
  1204. #endif /* SOMGD_SetStrike */
  1205. #ifndef SOM_DONT_USE_INHERITED_MACROS
  1206. #define HICaption_InitStaticPanel HIStaticPanel_InitStaticPanel
  1207. #define HICaption_GetEmbeddingParent HIPanel_GetEmbeddingParent
  1208. #define HICaption_InitPanel HIPanel_InitPanel
  1209. #define HICaption_RegisterInterestInAppleEvent HIPanel_RegisterInterestInAppleEvent
  1210. #define HICaption_HasValidContent HIPanel_HasValidContent
  1211. #define HICaption_GetDeepCollectionItemData HIPanel_GetDeepCollectionItemData
  1212. #define HICaption_GetWindow HIObject_GetWindow
  1213. #define HICaption_GetPort HIObject_GetPort
  1214. #define HICaption_GetRefLabel HIObject_GetRefLabel
  1215. #define HICaption_GetCollection HIObject_GetCollection
  1216. #define HICaption_Init HIObject_Init
  1217. #define HICaption_Terminate HIObject_Terminate
  1218. #define HICaption_Clone HIObject_Clone
  1219. #define HICaption_Release HIObject_Release
  1220. #define HICaption_GetOwnerCount HIObject_GetOwnerCount
  1221. #define HICaption_InitFromAERecord HIObject_InitFromAERecord
  1222. #define HICaption_WriteToAERecord HIObject_WriteToAERecord
  1223. #define HICaption_CalculateOptimalSize HIObject_CalculateOptimalSize
  1224. #define HICaption_GetBoundingRect HIObject_GetBoundingRect
  1225. #define HICaption_SetBoundingRect HIObject_SetBoundingRect
  1226. #define HICaption_SetPosition HIObject_SetPosition
  1227. #define HICaption_SetSize HIObject_SetSize
  1228. #define HICaption_GetUpdateRect HIObject_GetUpdateRect
  1229. #define HICaption_Enable HIObject_Enable
  1230. #define HICaption_Disable HIObject_Disable
  1231. #define HICaption_IsEnabled HIObject_IsEnabled
  1232. #define HICaption_Show HIObject_Show
  1233. #define HICaption_Hide HIObject_Hide
  1234. #define HICaption_IsVisible HIObject_IsVisible
  1235. #define HICaption_HandleAppleEvent HIObject_HandleAppleEvent
  1236. #define HICaption_HandleActivate HIObject_HandleActivate
  1237. #define HICaption_HandleDeactivate HIObject_HandleDeactivate
  1238. #define HICaption_HandleNavigation HIObject_HandleNavigation
  1239. #define HICaption_HandleMouseDownInContent HIObject_HandleMouseDownInContent
  1240. #define HICaption_HandleMouseMovedInContent HIObject_HandleMouseMovedInContent
  1241. #define HICaption_HandleMouseStoppedMovingInContent HIObject_HandleMouseStoppedMovingInContent
  1242. #define HICaption_HandleMouseUpInContent HIObject_HandleMouseUpInContent
  1243. #define HICaption_TakeUserInputFocus HIObject_TakeUserInputFocus
  1244. #define HICaption_ReleaseUserInputFocus HIObject_ReleaseUserInputFocus
  1245. #define HICaption_HasUserInputFocus HIObject_HasUserInputFocus
  1246. #define HICaption_CanReleaseUserInputFocus HIObject_CanReleaseUserInputFocus
  1247. #define HICaption_SetUserInputFocusFlags HIObject_SetUserInputFocusFlags
  1248. #define HICaption_GetUserInputFocusFlags HIObject_GetUserInputFocusFlags
  1249. #define HICaption_SetTitle HIObject_SetTitle
  1250. #define HICaption_GetTitle HIObject_GetTitle
  1251. #define HICaption_Draw HIObject_Draw
  1252. #define HICaption_Erase HIObject_Erase
  1253. #define HICaption_Invalidate HIObject_Invalidate
  1254. #define HICaption_GetDrawingMode HIObject_GetDrawingMode
  1255. #define HICaption_SetDrawingMode HIObject_SetDrawingMode
  1256. #define HICaption_SetBackgroundPattern HIObject_SetBackgroundPattern
  1257. #define HICaption_GetBackgroundPattern HIObject_GetBackgroundPattern
  1258. #define HICaption_Cut HIObject_Cut
  1259. #define HICaption_Copy HIObject_Copy
  1260. #define HICaption_Paste HIObject_Paste
  1261. #define HICaption_Clear HIObject_Clear
  1262. #define HICaption_GetClipboardSupportFlags HIObject_GetClipboardSupportFlags
  1263. #define HICaption_AddStateChangeCallback HIObject_AddStateChangeCallback
  1264. #define HICaption_RemoveStateChangeCallback HIObject_RemoveStateChangeCallback
  1265. #define HICaption_GetHIObjectFromRefLabel HIObject_GetHIObjectFromRefLabel
  1266. #define HICaption_GetNewHIObject HIObject_GetNewHIObject
  1267. #define HICaption_GetNewHIObjectFromResource HIObject_GetNewHIObjectFromResource
  1268. #define HICaption_DrawContent HIObject_DrawContent
  1269. #define HICaption_EraseContent HIObject_EraseContent
  1270. #define HICaption_TranslatePoint HIObject_TranslatePoint
  1271. #define HICaption_TranslateRect HIObject_TranslateRect
  1272. #define HICaption_StateChanged HIObject_StateChanged
  1273. #define HICaption_SetClipboardSupportFlags HIObject_SetClipboardSupportFlags
  1274. #define HICaption_Verify HIObject_Verify
  1275. #define HICaption_somInit SOMObject_somInit
  1276. #define HICaption_somUninit SOMObject_somUninit
  1277. #define HICaption_somDuplicateReference SOMObject_somDuplicateReference
  1278. #define HICaption_somCompareReference SOMObject_somCompareReference
  1279. #define HICaption_somRelease SOMObject_somRelease
  1280. #define HICaption_somFree SOMObject_somFree
  1281. #define HICaption_somCanDelete SOMObject_somCanDelete
  1282. #define HICaption_somGetClass SOMObject_somGetClass
  1283. #define HICaption_somGetClassName SOMObject_somGetClassName
  1284. #define HICaption_somGetSize SOMObject_somGetSize
  1285. #define HICaption_somIsA SOMObject_somIsA
  1286. #define HICaption_somRespondsTo SOMObject_somRespondsTo
  1287. #define HICaption_somIsInstanceOf SOMObject_somIsInstanceOf
  1288. #define HICaption_somDispatch SOMObject_somDispatch
  1289. #define HICaption_somClassDispatch SOMObject_somClassDispatch
  1290. #define HICaption_somCastObj SOMObject_somCastObj
  1291. #define HICaption_somResetObj SOMObject_somResetObj
  1292. #define HICaption_somPrintSelf SOMObject_somPrintSelf
  1293. #define HICaption_somDumpSelf SOMObject_somDumpSelf
  1294. #define HICaption_somDumpSelfInt SOMObject_somDumpSelfInt
  1295. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  1296.  
  1297. #endif       /* SOM_HICaption_h */
  1298.